/**
 *
 */
package com.ybkj.daijia.server.service.impl;

import com.ybkj.daijia.server.mapper.RoleAuthorityMapper;
import com.ybkj.daijia.server.model.RoleAuthority;
import com.ybkj.daijia.server.service.RoleAuthorityService;
import java.util.List;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * @author Shine
 *
 */
@Service
public class DefaultRoleAuthorityService implements RoleAuthorityService {


    @Autowired
    private RoleAuthorityMapper roleAuthorityMapper;


    @Override
    public List<RoleAuthority> selectByRoleId(Long roleId) {

        return roleAuthorityMapper.selectByRoleId(roleId);

    }


}
